<?=view('home.common.header')?>
<?=view('home.common.nav')?>
<div class="container">
    <div class="container-fluid">
        <div class="row">
            <div class="col-xs-12 col-md-12" style="padding: 10px 0px;">
                <a href="<?=url("home/person/index")?>" class="button button-circle button-small button-highlight"><i class="fa fa-reply"></i></a>
            </div>
            <div class="col-xs-12 col-md-12">
                <h2><small style="color:#fff;">剩余可提现金额:</small> <kbd><?=$total?></kbd></h2>
                <a href="<?=url("home/person/apply")?>" class="button button-glow button-border button-rounded button-highlight col-xs-12 col-md-3">申请提现</a>
            </div>
            <?php if($accounts && count($accounts)): ?>
            <table class="table">
                <thead>
                    <tr>
                        <th>金额</th>
                        <th>时间</th>
                        <th>状态</th>
                    </tr>
                </thead>
                <tbody>
                    <?php foreach($accounts as $val): ?>
                    <tr>
                        <td><?=$val->money?></td>
                        <td><?=$val->strTime()?></td>
                        <td><?=$val->strPushStatus()?></td>
                    </tr>
                    <?php endforeach; ?>
                </tbody>
            </table>
            <?php endif; ?>
        </div>
    </div>
</div>

<?=view('home.common.footer')?>
